package com.itheima.tanhua.api.mongodb;

import com.itheima.tanhua.Dto.LocationDto;
import com.itheima.tanhua.pojo.db.User;
import com.itheima.tanhua.pojo.mongo.UserLocation;

import java.util.List;

public interface BaiduLocationApi {

    //修改上传地址
    boolean updateLocation(LocationDto dto);

    UserLocation findNowLocation(Long uid);

    //附近的人
    List<Long> queryNearUser(Long uid, Double toDouble);
}
